package chapter3.section6;

/**
 * 程序 3-13：变量的作用域范围
 *
 * @author 张玮婷 20245080902061
 */

public class VariableScope {
    public static void main(String[] args) {
        int i = 10;
        {
            int k = 10;
            System.out.println("i=" + i);
            System.out.println("k=" + k);
        }
        System.out.println("i=" + i);
}

}
